/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

import banco.ConexaoBD;
import banco.UsuarioDAO;
import java.io.Serializable;

import javax.enterprise.context.SessionScoped;
import javax.faces.bean.ManagedBean;

/**
 *
 * @author Joao
 */

@ManagedBean(name = "encargo")
@SessionScoped

public class Encargo implements Serializable {

    private String ch, disciplinas, semestre, cod_disciplina, professor;

    UsuarioDAO user = new UsuarioDAO(ConexaoBD.getConexaoBD());

    public String getProfessor() {
        return professor;
    }

    public void setProfessor(String professor) {
        this.professor = professor;
    }
 
    public String getCh() {
        return ch;
    }

    public void setCh(String ch) {
        this.ch = ch;
    }

    public String getCod_disciplina() {
        return cod_disciplina;
    }

    public void setCod_disciplina(String cod_disciplina) {
        this.cod_disciplina = cod_disciplina;
    }

    public String getDisciplinas() {
        return disciplinas;
    }

    public void setDisciplinas(String disciplinas) {
        this.disciplinas = disciplinas;
    }

    public String getSemestre() {
        return semestre;
    }

    public void setSemestre(String semestre) {
        this.semestre = semestre;
    }

    
}
